//
//  NetMoneyMall.m
//  carcareIOS
//
//  Created by wr on 15/8/3.
//  Copyright (c) 2015年 baozun. All rights reserved.
//

#import "NetMoneyMall.h"
#import "AIUserInfo.h"
#import "NetEngineServer.h"

@implementation NetMoneyMall

+ (NetMoneyMall *)loadMoneyMallUrl:(NSString *)remainScore
{
    return [__SELF request:@"/Commodity/generateAutoLoginUrl" withParams:@{@"remainScore":remainScore} type:REQUEST_POST];
}

-(NSDictionary *)requestCommonParams{
    if (![USERINFO.session isNotNil]) {
        return nil;
    }
    return @{@"userid":@(USERINFO.userID),@"session":USERINFO.session};
}

-(id<NetRequestConfig>)requestDefaultConfig{
    return [NetEngineServer iczMallConfig];
}

@end
